home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Prog / B-C / C++ FAQ Reference 1.0 / C++ FAQ Reference 1.0.rsrc / TEXT_1834.txt < prev    next >
Encoding:
Text File  |  1993-06-30  |  1.5 KB  |  24 lines

  1. C++ 1.2 (the version number corresponds to the release number of USL's cfront) corresponds to Bjarne Stroustrup's first edition ('The C++ Programming Language', ISBN 0-201-12078-X).  In contrast, the present version (3.0) corresponds roughly to the 'ARM', except for exceptions.  Here is a summary of the differences between the first edition of Bjarne's book and the ARM:
  2.  - A class can have more than one direct base class (multiple inheritance).
  3.  - Class members can be 'protected'.
  4.  - Pointers to class members can be declared and used.
  5.  - Operators 'new' and 'delete' can be overloaded and declared for a class.
  6.      This allows the "assignment to 'this'" technique for class specific
  7.      specific storage management to be removed to the anachronism section
  8.  - Objects can be explicitly destroyed.
  9.  - Assignment and Copy-Initialization default to member-wise assignment and
  10.      copy-initialization.
  11.  - The 'overload' keyword was made redundant and removed to the anachronism
  12.      section.
  13.  - General expressions are allowed as initializers for static objects.
  14.  - Data objects can be 'volatile' (new keyword).
  15.  - Initializers are allowed for 'static' class members.
  16.  - Member functions can be 'static'.
  17.  - Member functions can be 'const' or 'volatile'.
  18.  - Linkage to non-C++ program fragments can be explicitly declared.
  19.  - Operators '->', '->*' and ',' can be overloaded.
  20.  - Classes can be abstract.
  21.  - Prefix and postfix application of '++' and '--' on a user-defined type
  22.      can be distinguished.
  23.  - Templates.
  24.  - Exception handling.